using System;
using System.Collections.Generic;
using System.Text;

namespace Web.Core.Objects
{
    public class Order
    {
        int _orderID, _shoppingCartID;
        GlobalStorage.State _state;
        string _dateAdded;

        public int OrderID
        {
            get { return _orderID; }
            set { _orderID = value; }
        }

        public int ShoppingCartID
        {
            get { return _shoppingCartID; }
            set { _shoppingCartID = value; }
        }

        public GlobalStorage.State State
        {
            get { return _state; }
            set { _state = value; }
        }

        public string DateAdded
        {
            get { return _dateAdded; }
            set { _dateAdded = value; }
        }

        public Order() { }

        public Order(int orderID, int sCartID, GlobalStorage.State state, string dateAdded)
        {
            this.OrderID = orderID;
            this.ShoppingCartID = sCartID;
            this.State = state;
            DateAdded = dateAdded;
        }
    }
}
